<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html >
<html>
<head>
<title>影院集合</title>
<t:base type="jquery,easyui,tools"></t:base>
	<script src="plug-in/jquery/jquerysession.js" type="text/javascript"></script>
<script type="text/javascript">

function dbClick(index,data){
    window.parent.$('.ui_state_highlight')[0].click();
}
function onCli() {

    var getSelected = $("#equipmentSpareList").datagrid("getSelections");
    var sn =  getSelected[0].sn;
    $.session.set("equipmentSpareSn",sn);
}
</script>
</head>
<t:datagrid name="equipmentSpareList" title="设备号列表" actionUrl="cbsAttachTaskController.do?datagridOfChooseSnOfContact"
            queryMode="group" idField="id" checkbox="false" showRefresh="false" onDblClick="dbClick" onClick="onCli">
	<t:dgCol title="id" field="id" hidden="true"></t:dgCol>
	<t:dgCol title="设备号" field="sn" width="200"	queryMode="single" query="true" ></t:dgCol>
	<t:dgCol title="影院名称" field="zyCinema.name" width="200"	queryMode="single"></t:dgCol>
</t:datagrid>
</body>
</html>
